From: Stefan Monnier Date: Fri, 11 Sep 2009 02:14:05 +0000 (+0000) Subject: (get_keymap): Return the actual keymap symbol rather than t for autoloaded X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10576 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=6aae1a3f087410804395158b2f93daf8fae1f890;p=emacs.git (get_keymap): Return the actual keymap symbol rather than t for autoloaded keymaps when autoloading is not allowed (bug#4393). --- diff --git a/src/ChangeLog b/src/ChangeLog index b84d694dd4f..ac8558f11aa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2009-09-11 Stefan Monnier + * keymap.c (get_keymap): Return the actual keymap symbol rather than + t for autoloaded keymaps when autoloading is not allowed (bug#4393). + * keymap.c (QCadvertised_binding): New constant. (syms_of_keymap): Initialize it. (Fwhere_is_internal): Try and use bindings from :advertised-binding diff --git a/src/keymap.c b/src/keymap.c index 7f539fd57b5..561b3453967 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -292,7 +292,7 @@ get_keymap (object, error, autoload) goto autoload_retry; } else - return Qt; + return object; } } }